package com.juzi.string;

import java.util.Scanner;

/**
    目标：了解String类特点，String类不可变的原理
 */
public class StringDemo1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入");
        String name = sc.next();
//        String name = "耳東";
        //name += "先生";
        //name += "您好";
        name += sc.next();
        name += sc.next();
        System.out.println(name);
    }
}
